Use PSQL

-----If using Command line

C:\"program files"\postgresql\18\bin\pg_dump -U postgres -d "Movies" -F c -f C:/Postgresqloutput/movies.backup

 
-----If using PSQL in PGAdmin

--\! means Run the following command in the operating system shell."

\! pg_dump -U postgres -d "Movies" -F c -f C:/Postgresqloutput/movies.backup

-----PowerShell Sample Script for daily full backups in the demo code folder

